<template>
  <div class="detailview">
    <div class="content">
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="请求通知" name="first">
            <RequestNotice  />
        </el-tab-pane>
        <el-tab-pane label="请求取消" name="second">
            
                <CancelRequest />

        
        </el-tab-pane>
          
      </el-tabs>
    </div>
  </div>
</template>

<script>
import RequestNotice from './RequestNotice.vue'
import CancelRequest from './CancelRequest.vue'
export default {
  components:{RequestNotice,CancelRequest},
  data() {
    return {
      activeName: "first",
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
  },
};
</script>

<style lang='scss' scoped>

.detailview {
  padding: 20px;
  background-color: #f5f5f5;
  .content {
    background: #ffffff;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
  }
}
</style>